#pragma once
#include <string>
#include <vector>
#include <fstream>

namespace quic
{

	class Csv
	{
	public:
		Csv(const std::string &input);
		~Csv(void);
		std::vector<std::string> nextRecord();
		bool hasNextRecord() const;
	private:
		void populate(std::vector<std::string> &record, const std::string& line, char delimiter);
		std::ifstream inputCsv;
                void trim(std::string &str);
	};

};
